<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="Microsoft.Samples.CustomControls.ColorPickerDialog"
        xmlns:customControls="clr-namespace:Microsoft.Samples.CustomControls"
        Title="Select a Color"
        Width="600" Height="425"
        ShowInTaskbar="False">
  <DockPanel>
    <StackPanel DockPanel.Dock="Bottom"
      Orientation="Horizontal"
      HorizontalAlignment="Right" 
      Margin="10">
            <Button Name="OKButton"
                    Click="okButtonClicked"
                    IsEnabled="False"
                    Width="50" Content="OK"
                    Margin="5"/>
            <Button Click="cancelButtonClicked" 
                    Width="50" Content="Cancel"
                    Margin="5" />
    </StackPanel>

    <customControls:ColorPicker 
      x:Name="cPicker"
       SelectedColorChanged="onSelectedColorChanged" 
       Margin="10,10,10,0"/>
  </DockPanel>


</Window>
